package cn.itsource.org.service;

import cn.itsource.basic.service.IBaseService;
import cn.itsource.org.domain.Department;

import java.util.List;

public interface IDepartmentService extends IBaseService<Department> {

    //通过parentId查询
    List<Department> queryByParentId(Long id);

    //查询无限级树
    List<Department> tree();

}
